Skip to content

Conversation

Frando
Copy link
Member

@Frando Frando commented May 19, 2020

Choose one: a 🙋 feature

This PR adds a subscribe method to the Feed which returns a Receiver<Event>. Currently, there's two events being emitted: Download and Append. More can be added over time/when needed.

I think this will be important for upcoming replication integration.

Checklist

  • tests pass
  • tests and/or benchmarks are included

Context

Semver Changes

minor as it's only an API addition I think

Frando and others added 8 commits July 20, 2020 23:08
This removes the generic argument from the Feed struct, making it
simpler to work with. Instead, the Storage is internally put into a
Box<dyn DynStorage>, where DynStorage is an async trait with the public
Storage functions.
... so that addding new events is not a breaking change.
Without this, some examples fail. Not sure exactly why.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants